﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.OleDb;
namespace DAO
{
    public class DataProvider
    {
        public static OleDbConnection ConnectDB()
        {
            string str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=CSDL.mdb;Jet OLEDB:Database Password=ltbaogt";
            OleDbConnection conn = new OleDbConnection(str);
            return conn;
        }
        
    }
}
